package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PcrHszbq;
import com.zhijian.medical.entity.vo.request.PcrHszbqSearchVo;
import com.zhijian.medical.entity.vo.response.PcrHszbqVo;

import java.util.List;

public interface PcrHszbqMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据实验id进行删除
     *
     * @param pcrId
     * @return
     */
    int deleteByPcrId(Long pcrId);

    int insert(PcrHszbq record);

    int insertSelective(PcrHszbq record);

    PcrHszbq selectByPrimaryKey(Long id);

    /**
     * 根据实验id查询po
     *
     * @param pcrId
     * @return
     */
    PcrHszbq selectByPcrId(Long pcrId);

    int updateByPrimaryKeySelective(PcrHszbq record);

    int updateByPrimaryKey(PcrHszbq record);

    int count(PcrHszbqSearchVo pcrHszbqSearchVo);

    List<PcrHszbqVo> selectList(PcrHszbqSearchVo pcrHszbqSearchVo);

    PcrHszbqVo selectVoById(Long id);

    /**
     * 根据实验id查询vo
     *
     * @param pcrId
     * @return
     */
    PcrHszbqVo selectVoByPcrId(Long pcrId);
}